//
//  ALTwoCell.m
//  Ummy.G
//
//  Created by 安林 on 16/9/29.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "ALTwoCell.h"
#import "UIImageView+WebCache.h"

@implementation ALTwoCell

- (void)awakeFromNib {
    
    //把图片剪切成一个圆
    self.ImageView.layer.cornerRadius = 22.5;
    self.ImageView.layer.masksToBounds = YES;
}

- (void)setModel:(ALTwoModel *)model{

    _model = model;
    _titleLabel.text = model.maintitle;
    _litleTitleLabel.text = model.deputytitle;
    
    
}





- (IBAction)jumpBtn:(id)sender {
    
    
       // NSLog(@"33333");
       [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",_model.url]]];
}


@end











